package com.ruoyi.project.cms.type.mapper;

import com.ruoyi.project.cms.type.domain.CmsType;

import java.util.List;

public interface CmsTypeMapper {

    public List<CmsType> selectPostList(CmsType cmsType);

    public CmsType checkTypeNameUnique(String typeName);

    public int insertCmsType(CmsType cmsType);

    public CmsType selectCmsTypeById(long typeId);

    public int updateCmsType(CmsType cmsType);

    public int deletePostByIds(Long[] typeIds);

}
